﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace ABCTile.Models
{
    public class Color
    {
        [Required(ErrorMessage = "Color ID is required")]
        [Display(Name = "Color ID")]
        public string ColorID { get; set; }

        [Required(ErrorMessage = "Color Name is required")]
        [Display(Name = "Color Name")]
        public string ColorName { get; set; }

        public virtual ICollection<Tile> Tiles { get; set; }
    }
}